<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<h:head>
<link rel="stylesheet" type="text/css" href="../template/css.css" media="all" />
<title>QueroTeto</title>
</h:head>
<h:body>

	<div id="corpo">
		<ui:include src="/template/topo.xhtml"/>
		<ui:include src="/template/menu.xhtml" />
		<div id="slide"></div>
		<div id="conteudo">
			<p:messages id="messages" showDetail="true" autoUpdate="true"
				closable="true" globalOnly="true" />

			<div id="centro">
				<h2>
					<b><i>Bem vindo</i></b>
				</h2>
				<p:graphicImage id="imagem" value="/img/inquilino/perfil/#{perfilBean.perfil.email}.jpg" width="100px" height="130px" />

			</div>
			<div id="direita" align="center"
				style="background-color: #FFF; width: 250px;">
				<h:form>
					<p:panel header="Menu">
						<h:panelGrid columns="1" cellpadding="5">
							<p:commandButton value="Visualizar Cadastro"
								action="#{cadastroUsuarioBean.visualizar}" ajax="false"
								style="width:200px;" />
							<p:commandButton value="Visualizar perfil"
								action="#{perfilBean.visualizar}" ajax="false"
								style="width:200px;" />
						</h:panelGrid>
					</p:panel>
				</h:form>
			</div>
		</div>
		<div id="both" align="center"></div>
		<ui:include src="/template/rodape.xhtml"/>
	</div>
</h:body>
</html>